﻿<Window x:Class="TrackIT.MantisCredentials"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  Background="Transparent"
        Title="MantisCredentials" Height="204" Width="409"  AllowsTransparency="True" WindowStyle="None" Activated="Window_Activated">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="theme.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <Border Padding="0" CornerRadius="30" OverridesDefaultStyle="False" Opacity=".9" Height="165" Width="388">
        <Border.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="Black" Offset="0.5" />
                <GradientStop Color="#FF3D3D3D" Offset="0" />
                <GradientStop Color="#FF3D3D3D" Offset="1" />
            </LinearGradientBrush>
        </Border.Background>
            <Canvas Height="163" HorizontalAlignment="Left" Margin="6,0,0,0" Name="canvas1" VerticalAlignment="Top" Width="380">
                <Label Content="Password" SnapsToDevicePixels="True" Height="20" FontFamily="Segoe UI" Foreground="White" Name="passwordLabel" Focusable="False" FontStyle="Normal" FontWeight="Normal" Canvas.Left="6" Canvas.Top="83" />
                <Label Content="Username" SnapsToDevicePixels="True" Height="17" FontFamily="Segoe UI" Foreground="White" Name="usernameLabel" Focusable="False" FontStyle="Normal" FontWeight="Normal" Canvas.Left="6" Canvas.Top="50" />
                <TextBox Height="20" Name="usernameBox" Width="290" Canvas.Left="62" Canvas.Top="47" />
                <PasswordBox Height="20" Name="passwordBox1" Width="293" Canvas.Left="62" Canvas.Top="83" />
                <Button Content="OK" Height="23" Name="OkButton" Width="75" Click="MantisCredentialsOK" Canvas.Left="196" Canvas.Top="122" IsDefault="True" />
                <Button Content="Cancel" Height="23" Name="CancelButton" Width="75" Click="CancelButton_Click" Canvas.Left="277" Canvas.Top="122" IsCancel="True" />
            <Label Canvas.Left="91" Canvas.Top="6" Content="Mantis Credentials" FontSize="22"  Height="28" Name="label1" />
        </Canvas>
    </Border>
</Window>
